-
-
Notifications
You must be signed in to change notification settings - Fork 396
Support stylish-haskell with ghc9.0 #2820
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
9f7ddb8
to
5843a66
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM :)
How hard will it be to make your patch compatible with the current stylish-haskell head (which supports ghc 9.2)? If it's not so hard, could you also send a PR there? |
Not easy, I developed based on v0.13.0.0, which has a bunch of different representations, current head has a clean structure with ghc9.2. I'd prefer someone can send this fork to hackage directly and this fork should exist as a branch in haskell/stylish-haskell, because it's just a compat that only works for HLS(Others will choose v0.14 ideally) |
Let's take a step back:
What this means for HLS
The future-proof and non-forky thing to do here is to evolve |
That said, I am not against merging this PR, as it doesn't make anything worse and it means that we can distribute 9.0 binaries which support both plugins. |
Relevant hlint issue: ndmitchell/hlint#1359 |
It's worth closing this and waiting for hlint support before the next hls release. |
I have a fork that include stylish-haskell compile with ghc 9.0 https://github.com/July541/stylish-haskell/tree/ghc-9.0, and this pr uses the fork directly.
CI looks well https://github.com/July541/stylish-haskell/actions/runs/2142857127